]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Remove unused properties from Source
authorJulian Sparber <julian@sparber.net>
Thu, 25 Jan 2024 17:54:14 +0000 (18:54 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 30 Jan 2024 17:05:23 +0000 (17:05 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>

js/ui/components/telepathyClient.js
js/ui/messageTray.js

index a40879ff54f00e39253d24e58701243a6c2c0e5e..be55018cf7c240374ae6a25ed6b9269b27ba6423 100644 (file)
@@ -314,7 +314,6 @@ class ChatSource extends MessageTray.Source {
 
         super._init(contact.get_alias());
 
-        this.isChat = true;
         this._pendingMessages = [];
 
         this._conn = conn;
index eba40c0bbbca6e211b548644c46ab8c801421b0d..900f2ee717919de63a82042235e5b62b11953cbe 100644 (file)
@@ -645,12 +645,8 @@ export const Source = GObject.registerClass({
     _init(title, iconName) {
         super._init({title});
 
-        this.SOURCE_ICON_SIZE = 48;
-
         this.iconName = iconName;
 
-        this.isChat = false;
-
         this.notifications = [];
 
         this._policy = this._createPolicy();